package guda.stark.dal.dao;

import guda.stark.dal.dataobject.VillageDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface VillageDAO {


    Long insert(VillageDO village);


    VillageDO getVillageById(Long villageId);


    boolean delVillageById(Long villageId);

    List<VillageDO> getVillageByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long villageId);

    List<VillageDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(VillageDO village);

}
